Micron Document
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
| SparkN0de-git | SparkN0de |
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------


Commit 6ff01c3e678219dcd37f989c2f0b3ba57f1eb29a


Parents : c999014
Author : Mark Qvist <mark@unsigned.io>
Date : 2022-09-30T22:58:18+02:00

Cleanup

Changes

2 files changed, 0 insertions(+), 4 deletions(-)


Diff

diff --git a/nomadnet/ui/textui/Main.py b/nomadnet/ui/textui/Main.py
index 22445da..deca22a 100644
--- a/nomadnet/ui/textui/Main.py
+++ b/nomadnet/ui/textui/Main.py
@@ -125,8 +125,6 @@ class MainDisplay():
def update_active_sub_display(self):
self.frame.contents["body"] = (self.sub_displays.active().widget, None)
self.update_active_shortcuts()
- # TODO: Remove when new mitigation has been tested
- # self.app.ui.main_display.request_redraw(extra_delay=0.0)
def update_active_shortcuts(self):
self.frame.contents["footer"] = (self.sub_displays.active().shortcuts().widget, None)

diff --git a/nomadnet/ui/textui/Network.py b/nomadnet/ui/textui/Network.py
index b5107ae..525fc0b 100644
--- a/nomadnet/ui/textui/Network.py
+++ b/nomadnet/ui/textui/Network.py
@@ -114,8 +114,6 @@ class AnnounceInfo(urwid.WidgetWrap):
self.parent.left_pile.contents[0] = (self.parent.announce_stream_display, options)
def connect(sender):
- # TODO: Remove when new mitigation has been tested
- # self.app.ui.main_display.request_redraw(extra_delay=0.75)
self.parent.browser.retrieve_url(RNS.hexrep(source_hash, delimit=False))
show_announce_stream(None)


──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────